<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>vue</title>
        <!-- 引入vue文件-->
		<script src="http://static.runoob.com/assets/vue/1.0.11/vue.min.js"></script>
	</head>
	<body>
		<div id="vue">
			<a v-bind:href="url">你懂的</a>
		</div>
		<script>
			new Vue({
				el:'#vue',
				data:{
					url:'http://baidu.com'
				}
			})
		</script>
	</body>
</html>
